<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<style>
    #yangshi{
      margin:0 auto;
    }
</style>
<title>添加产品分类</title>
</head>
<body>
<div class="page-container">
  <div id="yangshi">
	<form action="/cate" method="post" class="form form-horizontal" id="form-user-add">
	{{csrf_field()}}
		 <div class="row cl"> 
   <label class="form‐label col‐xs‐4 col‐sm‐2"> <span class="c‐red"></span> 选择栏目：</label> 
   <div class="formControls col‐xs‐6 col‐sm‐6"> 
    <select name="pid" class="span3"> 
    <option value="0">不选</option>
	     @foreach($cates as $cate) 
	     <option value="{{$cate->id}}">
	      <?php echo str_repeat("&nbsp;",4*$cate->lev);?> {{$cate->name}}
	     </option>
	      @endforeach 
     </select> 
   </div> 
  </div> 
  <div class="row cl"> 
   <label class="form‐label col‐xs‐4 col‐sm‐2"> <span class="c‐red"></span> 栏目名称：</label> 
   <div class="formControls col‐xs‐6 col‐sm‐6"> 
    <input type="text" class="input‐text" value="" placeholder="" id="name" name="name" / style="width:200px;height: 40px;"> 
   </div> 
  </div> 
  <div class="row cl"> 
   <div class="col‐9 col‐offset‐2"> 
   <br>
    <input class="btn btn‐primary radius" type="submit" value="&nbsp;&nbsp;创建栏目

&nbsp;&nbsp;" /> 
   </div> 
  </div> 
	</form>
</div>
<!--_footer 作为公共模版分离出去-->
</div>
<!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->

<script type="text/javascript">
$(function(){
	
});
</script>
</body>
</html>